import request from '@/utils/request'

const userApi = {
  validateData: '/boss/admin/info/validateData',
  validateVideo: '/boss/admin/info/video',
  verifiedStatus: '/boss/admin/info/verifiedStatus'
}

export function getValidateData (parameter) {
  return request({
    url: userApi.validateData,
    method: 'get',
    data: parameter
  })
}

export function sendValidateVideo (parameter) {
  return request({
    url: userApi.validateVideo,
    method: 'post',
    data: parameter,
    headers: { 'Content-Type': 'multipart/form-data' }
  })
}

export function getSendValidateVideo (parameter) {
  return request({
    url: userApi.verifiedStatus,
    method: 'get',
    data: parameter
  })
}
